home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 790 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  866 b 

  1. Path: news.ucdavis.edu!boris!ez058306
  2. From: ez058306@boris.ucdavis.edu (Phillip Geiger)
  3. Newsgroups: comp.lang.c,comp.lang.c++
  4. Subject: Q: Time to call a function?
  5. Date: 7 Jan 1996 04:57:51 GMT
  6. Organization: University of California, Davis
  7. Message-ID: <4cnjsf$kq0@mark.ucdavis.edu>
  8. NNTP-Posting-Host: boris.ucdavis.edu
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. I checked the miscellaneous section of the C-FAQ-list file but didn't see 
  12. this answered covered....
  13.  
  14. About how much time does calling a function, allocating memory, and 
  15. executing simple statements like "i = 3" take?  Obviously it depends 
  16. on how fast the computer running the program is, but I'd like a ball-park 
  17. figure for a 486 or Pentium running a simple program from DOS.
  18.  
  19. Nanoseconds?  Microseconds?  Surely not as slow as a millisecond... (?)
  20.  
  21. Thanks in advance,
  22.  
  23.  
  24.  
  25. --
  26. Phil Geiger
  27. pggeiger@ucdavis.edu
  28.